package com.zhongke.cotrun.mapper;

import com.zhongke.cotrun.model.pojo.Report;
import org.apache.ibatis.annotations.Insert;

public interface ReportMapper {
    /**
     * 新建举报
     *
     * @param report
     * @return
     */
    @Insert("INSERT INTO `report` (`link_comment_id`,`link_user_id` ,`rank`, `report_content`, `creat_time`,`type`) VALUES (#{linkCommentId},#{linkUserId}, #{rank}, #{reportContent}, NOW(),#{type})")
    public boolean intsertReport(Report report);

}
